﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Office.Tools.Ribbon;
using System.Windows.Forms;

namespace WunderList
{
	public partial class WunderLookRibbon
	{
		private void WunderlistRibbon_Load(object sender, RibbonUIEventArgs e)
		{
			
		}

		/// <summary>
		/// Handles the Click event of the wlPanelButton control.
		/// </summary>
		/// <param name="sender">The source of the event.</param>
		/// <param name="e">The <see cref="Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs"/> instance containing the event data.</param>
		private void wlPanelButton_Click(object sender, RibbonControlEventArgs e)
		{
			// toggle panel visibility
			Globals.ThisAddIn.PanelValue.Visible = ((RibbonToggleButton)sender).Checked;
		}
	}
}
